import Vue from 'vue'
import Router from 'vue-router'
import productList from '@/components/productList'
import product from '@/components/product'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'productList',
      component: productList
    },
    {
      path:'/product',
      name:'product',
      component:product
    }
  ]
})
